package com.dwjm.shop.car;

import java.io.Serializable;

public class ShopCar implements Serializable {
 /** 主键 */
 private Long id;
 /** 商品编号 */
 private Long gid;
 /** 商品标题 */
 private String title;
 /** 商品价格 */
 private Double price;
 /** 消费者ID */
 private Long cid;

    public ShopCar(Long id, Long gid, String title, Double price, Long cid) {
        this.id = id;
        this.gid = gid;
        this.title = title;
        this.price = price;
        this.cid = cid;
    }

    public ShopCar() {

    }

    public Long getId() {
        return id;
    }

    public Long getGid() {
        return gid;
    }

    public String getTitle() {
        return title;
    }

    public Double getPrice() {
        return price;
    }

    public Long getCid() {
        return cid;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public void setGid(Long gid) {
        this.gid = gid;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public void setCid(Long cid) {
        this.cid = cid;
    }
}
